
package com.scs.application.modules.base.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.base.entity.MaterialSpec;
import com.scs.application.modules.base.request.MaterialSpecQueryRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 商品规格 service 接口
 *
 */
public interface MaterialSpecService extends IBaseService<MaterialSpec> {

    IPage<MaterialSpec> page(MaterialSpecQueryRequest request);

    List<MaterialSpec> list(MaterialSpecQueryRequest request);

    MaterialSpec findMaterialSpecByName(String materialId, String materialSpec, Double price);

    int insertBatchSomeColumn(@Param("list") List<MaterialSpec> entityList);


}
